<template>
  <div class="list" >
    <div class="list-content">
      <slot name="content">

      </slot>
      
    </div>
    <div class="isBatch" v-if="isBatchMag">
        <!-- <img src="@/assets/images/allocation/batch-bg.png" /> -->
        <div class="batch-bg">
          <div class="b-b-text">批次</div>
        </div>
    </div>
    
  </div>
</template>
<script >

export default {
  props:{
   isBatchMag:{
    type: Boolean,
    default:false
   }
  },
  data() {
    return {
      formModle: {},
    };
  },
  components: {
    
  },
  methods: {
    
  },
};
</script>

<style scoped lang="scss">
.list {
  background: #ffffff;
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
  border-radius: 4px 4px 4px 4px;
  position: relative;
  margin-bottom: 25px;
  .list-content {
    padding: 13px;
    
  }
  .isBatch{
    img{
        width: 50px;
    }
    position: absolute;
    top: 0;
    right: 0;
  }
  .batch-bg {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 48.72px;
    height: 51.55px;
    background: url("../../../../assets/images/allocation/batch-bg.png") no-repeat;
    background-size: 100% 100%;
    .b-b-text {
      width: 50%;
      height:134%;
      transform :rotate(50deg);
      font-size: 12px;
      font-family: SourceHanSansCN-Regular;
      color: #ffffff;
    }
  }
}
</style>